#!/bin/bash
MODULES="gsig.py crypto.py logger.py"
MODPATH=/usr/bin/GroupSignature

if [ ! -d $MODPATH ] 
then 
	mkdir $MODPATH
fi

cp gsig.sh /usr/bin/gsig
chmod +x /usr/bin/gsig

python -c "import py_compile; py_compile.main()" $MODULES
mv *.pyc $MODPATH
